home *** CD-ROM | disk | FTP | other *** search
- Path: solon.com!not-for-mail
- From: seebs@solutions.solon.com (Peter Seebach)
- Newsgroups: comp.lang.c++,comp.lang.c,comp.os.ms-windows.programmer.misc
- Subject: Re: fastest code
- Date: 5 Apr 1996 20:41:41 -0600
- Organization: Usenet Fact Police (Undercover)
- Message-ID: <4k4ll5$fq@solutions.solon.com>
- References: <316112A2.7D37@public.sta.net.cn> <NFS9dJAHgWYxEwdO@chrism.demon.co.uk> <4k1sntINNdd6@keats.ugrad.cs.ubc.ca> <3165a356.105975604@204.248.25.97>
- Reply-To: seebs@solon.com
- NNTP-Posting-Host: solutions.solon.com
-
- In article <3165a356.105975604@204.248.25.97>,
- William E. Kempf <srwillrd@novia.net> wrote:
- >A good environ makes a huge difference to a programmer during
- >development (though every developer has a different opinion about what
- >a "good" environment is). For this reason, many developers actually
- >have two compilers, one for development and one for final builds.
-
- I would *never* do that. It would be suicide; why run the risk that
- your "real" build will have bugs your normal build won't, because the
- compilers have different bugs...
-
- YMMV. I use several different compilers for anything I want to develop
- for real, especially
- gcc -pedantic -O -Wall -Wshadow -Wstrict-prototypes
- -Wmissing-prototypes
- (the -O will enable certain warnings that aren't otherwise possible.)
- lcc -A -A
- and occasionally other compilers. lcc is brilliant; it catches things
- like the subtle portability bug of
- puts("`foo'");
-
- -s
- --
- Peter Seebach - seebs@solon.com - Copyright 1996 Peter Seebach.
- C/Unix wizard -- C/Unix questions? Send mail for help. No, really!
- FUCK the communications decency act. Goddamned government. [literally.]
- The *other* C FAQ - http://www.solon.com/~seebs/c/c-iaq.html
-